package org.keyyond.ms.commonservice.service;

import org.keyyond.ms.commonservice.model.SDBDUser;

import com.github.pagehelper.Page;

import net.sf.json.JSONObject;

public interface SDBDUserService {

	int getAllUsersCount(SDBDUser user);

	Page<SDBDUser> selectAllByPage(JSONObject dataJson);

	SDBDUser selectByUsernameAndPassword(SDBDUser user);

	int getUserCountByUsername(String userName);

	int addUser(SDBDUser user);

	int deleteUserBySeqno(String seqno);
	
	SDBDUser selectByPrimaryKey(String seqno);

}
